import { createStore } from "vuex";
import getters from "./getters";
import user from "./modules/user";
import learn from "./modules/learn";
import flt from "./modules/eicas/flt";
import fuel from "./modules/eicas/fuel";
import elec from "./modules/eicas/elec";
import hyd from "./modules/eicas/hyd";
import engine from "./modules/eicas/engine";

const store = createStore({
  modules: {
    user,
    learn,
    flt,
    fuel,
    hyd,
    elec,
    engine,
  },
  getters,
});

export default store;
